echo '数据库建表'
# mysql -h 172.28.6.9 -uroot -wqwezxc <d_mini.sql
mysql -h 172.28.6.9 -uroot -wqwezxc <d_order_history.sql
mysql -h 172.28.6.9 -uroot -wqwezxc <d_try.sql
mysql -h 172.28.6.9 -uroot -wqwezxc <d_promotion.sql
mysql -h 172.28.6.9 -uroot -wqwezxc <transaction.sql

echo '数据导入'

cd /path
echo '导入考喜试订单'
./yii order from-liketry
echo '导入优选订单'
./yii order from-bestry
echo '三月前订单移动'
./yii order to-history
echo '订单日志全量导入d_try'
./yii order origin-log

./yii order from-liketry
./yii order from-liketry





/www_console/yii order/from-bestry 000 80001
/www_console/yii order/from-bestry 80000 250001






/www_console/yii order/from-liketry 3500000 4000001
/www_console/yii order/from-liketry 4000000 4500001
/www_console/yii order/from-liketry 4500000 5000001


/www_console/yii order/from-liketry 5000000 5500001
/www_console/yii order/from-liketry 5500000 6000001
/www_console/yii order/from-liketry 6000000 6500001



/www_console/yii order/from-liketry 6500000 7000001
/www_console/yii order/from-liketry 7000000 7500001
/www_console/yii order/from-liketry 7500000 8000001



/www_console/yii order/from-liketry 8000000 8500001
/www_console/yii order/from-liketry 8500000 9000001
/www_console/yii order/from-liketry 9000000 10000001


